﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Core
{
    public class Command : ICommand
    {
        public Command()
        {
        }

        public Command(Action a)
        {
            this.ExecAction = a;
        }

        protected Action ExecAction { get; set; }

        #region ICommand Members

        public void Execute()
        {
            this.ExecAction();
        }

        #endregion
    }
}
